package com.nft.service.school.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.nft.base.BaseQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value="SchoolPatriarchReq对象", description="家长信息入参")
@Accessors(chain = true)
public class SchoolPatriarchReq extends BaseQuery implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "家长姓名")
    private String name;

    @ApiModelProperty(value = "家长电话")
    private String phone;

    @ApiModelProperty(value = "家长微信")
    private String wxname;

    @ApiModelProperty(value = "学生ID")
    private Long studentId;

    @ApiModelProperty(value = "孩子姓名")
    private String childname;

    @ApiModelProperty(value = "孩子所属校区")
    private Long schoolId;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
}
